1. /* scfplrbs.cpp by K.Tsuru */
  2. // function ID = 9120
  3. /***************************************
  4. SComplex class
  5. It returns r*{cos(x)+i*sin(x)}
  6. using binary splitting.
  7. *****************************************/
  8. #ifndef SN_H
  9. #include "sn.h"
  10. #endif
  11. SComplex CpolarBS(const SDouble& r, const SDouble& x){
  12. SDouble c, s;
  13. CosSinBS(x, c, s);
  14. return SComplex(r * c, r * s);
  15. }

scfplrbs.cpp : last modifiled at 2015/07/26 15:34:42(384 bytes)
created at 2017/10/06 15:21:28
The creation time of this html file is 2017/10/06 15:27:09 (Fri Oct 06 15:27:09 2017).